<#import "www/comm.html" as main>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<title>句容机关工委网站</title>
    <link href="../style/www/VideoView.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="../js-plugin/jquery-1.6.min.js"></script>
    <script type="text/javascript" src="../js-plugin/slider.js"></script>
    <script type="text/javascript" src="../js-plugin/superslide.js"></script>
	<script type="text/javascript" src="../js-plugin/html5media/html5media.min.js"></script>
    <@main.statusbar />
</head>
<body>
    <!-- 页头 -->
    <@main.header />
	<!-- 内容区 -->
	<div class="center wrapper">
		<div class="com-cloumn sub-title">
			当前位置：<a href="${response.encodeURL('/Index')}">首页</a>
            >> <a href="${response.encodeURL('Video')}">视频列表</a>
			>> <a href="${response.encodeURL('VideoView?id='+video.id?c)}">${video.title?html}</a>
        </div>
		<div class="leftList">
			<@main.loginbox />
			<@main.rankbox />
			<@main.noticebox />
		</div>
		<div class="rightList">
			<div class="video-detail">
				<div class="act-top">
					<div class="act-title">${video.title?html}</div>
					<div class="act-info">
						<span>发布日期：${video.postdate?date}</span>
						<span>发布人：${video.author?html}</span>
						<span>阅读：<font color="#b21916">${video.clicknum?c}</font>次</span>
					</div>
				</div>
				<div class="video-palyer">
					<#if video.serpath?index_of(".mp4") != -1>
					<video width="610" height="495" autoplay="autoplay" id="ckplayer_a1" src="${video.serpath}" controls=""></video>
					</#if>
					<#if video.serpath?index_of(".flv") != -1>
					<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="610" height="495">
						<param name="movie" value="http://www.msland.cn/Flvplayer.swf" />
						<param name="quality" value="high" />
						<param name="allowFullScreen" value="true" />
						<param name="FlashVars" value="vcastr_file=${video.serpath}" /><embed src="http://www.msland.cn/Flvplayer.swf" allowfullscreen="true" flashvars="vcastr_file=${video.serpath}" quality="high" luginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="610" height="495"></embed>
					</object>
					<#else>
					<OBJECT id="NSPlay" width=610 height=495 classid="clsid:6BF52A52-394A-11d3-B153-00C04F79FAA6" VIEWASTEXT ="" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701">
						 <PARAM name="URL" value="${video.serpath}">
						 <!--脚本命令设置:是否调用URL--> 
						<param name="invokeURLs" value="0"> 
						 <!--是否透明--> 
						<param name="wmode" value="transparent"> 
						<param name="AutoStart" VALUE="-1"> 
						<!--是否自动播放--> 
						<param name="enabled" value="-1"> 
						<!--播放器是否可人为控制--> 
						<param name="Balance" VALUE="0"> 
						<!--是否启用上下文菜单--> 
						<param name="EnableContextMenu" VALUE="-1"> 
						<!--是否按比例伸展--> 
						<param name="stretchToFit" value="-1">
						<!--播放器显示模式:Full显示全部;mini最简化;None不显示播放控制,只显示视频窗口;invisible全部不显示--> 
						<param name="uiMode" value="Full"> 
						<param name="VideoBorderWidth" value="0">
					</OBJECT>
					</#if>
				</div>
				<div class="act-content">${video.content?html}</div>
			</div>
			<div class="lastnext">
				<div class="last">上一篇：<a href="${response.encodeURL('VideoView?id='+lastVideo.id?c)}" title="${lastVideo.title?html}">${lastVideo.title?html}</a></div>
				<div class="next">下一篇：<a href="${response.encodeURL('VideoView?id='+nextVideo.id?c)}" title="${nextVideo.title?html}">${nextVideo.title?html}</a></div>
			</div>
		</div>
	</div>
    <!-- 页脚 -->
    <@main.footer />
</body>
</html>
